#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<unistd.h>

#define ROW 20
#define COL 20

enum players
{
  PLAYER1 = 1,
  PLAYER2
};

enum over
{
  PL1 = 1,
  PL2,
  CONTINUE,
  DRAW
};

enum DIREC
{
  LEFT,
  RIGHT,
  UP,
  DOWN,
  UP_LEFT,
  UP_RIGHT,
  DOWN_LEFT,
  DOWN_RIGHT
};

void menu();
void game(void);
void MineInit(int (*p)[ROW], int row, int col);
void MineDisplay(int (*p)[ROW], int row, int col);
void Move(int (*p)[ROW], int row, int col, int play);
int IsOver(int (*p)[ROW], int row, int col);
